const flags = new Array(26);
let flag = 1;
for (let i = 0; i < 26; i += 1, flag <<= 1) {
  flags[i] = flag;
}
console.log(JSON.stringify(flags, null, 2));
